package com.wanxi.dao;

import com.wanxi.model.News;

import java.util.List;

public interface NewsDao {
    List<News> findAllNews();

    News findNewsById(News news);

    int updateEnable(News news);

    int addNews(News news);

    int deleteNews(News news);

    int updateNews(News news);

    List<News> findNews(News news);

    List<News> findNewsBySome(News news);
}
